package com.neu.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data  //等价于@Getter` 、 `@Setter` 、 `@ToString` 、 `@EqualsAndHashCode`
public class UserVO {
    private Integer id;

    private String name;
    private String loginName;
    private String phone;
    private Byte status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
